//
//  CGameUI.h
//  MyPlaneGame
//
//  Created by yeates on 16/6/9.
//  Copyright (c) 2016年 yeates. All rights reserved.
//

#ifndef __MyPlaneGame__CGameUI__
#define __MyPlaneGame__CGameUI__

#include "stdafx.h"

class CGameUI{
public:
    IplImage* GetNowImage();            //获取背景图片信息
    void SetBgImage(IplImage *img);     //设置背景图片
    void Build();                       //背景图片循环核心code
    void ShowBgImage();                 //显示图片
    CGameUI();
    virtual ~CGameUI();
private:
    IplImage *Bg;
    IplImage *BgClone;
    int mpos;
    int speed;
};          //不要忘了分号

#endif /* defined(__MyPlaneGame__CGameUI__) */
